package org.qing.javafx.context;

import java.util.Date;
import java.util.Map;

import javafx.stage.Stage;

/**
 * 上下文
 * @author qing
 *
 */
@SuppressWarnings("restriction")
public class UIContext {
	
	private Stage stage;
	
	private String preCtr;
	
	private String currCtr;
	
	private String nextCtr;
	
	private Map<String, Object> params;
	
	private Date createBean = new Date();

	public Stage getStage() {
		return stage;
	}

	public void setStage(Stage stage) {
		this.stage = stage;
	}

	public String getPreCtr() {
		return preCtr;
	}

	public void setPreCtr(String preCtr) {
		this.preCtr = preCtr;
	}

	public String getCurrCtr() {
		return currCtr;
	}

	public void setCurrCtr(String currCtr) {
		this.currCtr = currCtr;
	}

	public String getNextCtr() {
		return nextCtr;
	}

	public void setNextCtr(String nextCtr) {
		this.nextCtr = nextCtr;
	}

	public Map<String, Object> getParams() {
		return params;
	}

	public void setParams(Map<String, Object> params) {
		this.params = params;
	}

	public Date getCreateBean() {
		return createBean;
	}

	public void setCreateBean(Date createBean) {
		this.createBean = createBean;
	}
}
